Skip to content

chore: Additional CI configuration - #1251

Merged
Carter Tinney (cartertinney) merged 5 commits into
mainfrom
ct/stabilize-uv-cache
Sep 1, 2026
Merged

Carter Tinney (cartertinney) merged 5 commits into
mainfrom
ct/stabilize-uv-cache

Conversation

@cartertinney

@cartertinney Carter Tinney (cartertinney) commented Sep 1, 2026 •

Copy link
Copy Markdown
Member

Summary

  • stabilize ADO uv cache keys by resolving dependency upgrades before Cache@2 hashes uv.lock
  • cancel superseded PR pipeline runs when a newer commit is pushed
  • run all active ADO validation pipelines for stacked PRs targeting feature branches, while keeping push CI limited to main

Details

The upgraded lockfile is now resolved without populating the download cache, then Cache@2 restores the cache using the final lock hash and uv sync --locked installs from it. This preserves testing against newest compatible dependencies without changing the cache key between restore and save.

Build, DPS E2E, Python E2E, and Horton E2E now explicitly set pr.autoCancel: true and accept every PR target branch. GitHub Actions already has equivalent per-PR cancellation and an unrestricted pull_request trigger.

Validation

  • parsed all modified ADO YAML files
  • mechanically verified install -> lock upgrade -> cache restore -> locked sync ordering in every cached job
  • reproduced the reported pre/post lock hash change locally and verified uv sync --locked preserves the resolved hash
  • verified push triggers remain restricted to main
  • verified all four active ADO PR triggers use autoCancel: true and accept '*' target branches

Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
@cartertinney Carter Tinney (cartertinney) changed the title chore: Stabilize uv cache in CI to suppress warnings chore: Additional CI improvements Sep 1, 2026
@cartertinney Carter Tinney (cartertinney) changed the title chore: Additional CI improvements chore: Additional CI configuration Sep 1, 2026
Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>

Copilot AI left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull request overview

Stabilizes Azure Pipelines dependency caching and improves stacked-PR validation.

Changes:

  • Resolves dependency upgrades before cache-key calculation, then performs locked synchronization.
  • Enables cancellation of superseded PR runs and validates all PR target branches.
  • Updates contributor documentation for the CI dependency strategy.

Reviewed changes

Copilot reviewed 7 out of 7 changed files in this pull request and generated 1 comment.

Show a summary per file
File Description
vsts/python-nightly.yaml Stabilizes the E2E dependency cache key.
vsts/python-e2e.yaml Updates PR triggers and dependency caching.
vsts/python-canary.yaml Stabilizes the E2E dependency cache key.
vsts/horton-e2e.yaml Expands and auto-cancels PR validation.
vsts/dps-e2e.yaml Updates PR triggers and dependency caching.
vsts/build.yaml Expands and auto-cancels PR validation.
devbox_setup.md Documents the revised CI dependency flow.

💡 Add a code-review agent skill or configure MCP servers for context-aware, tailored reviews. Learn more in the docs.

Comment thread devbox_setup.md Outdated
Co-authored-by: Copilot Autofix powered by AI <175728472+Copilot@users.noreply.github.com>
@cartertinney
Carter Tinney (cartertinney) merged commit 0165799 into main Sep 1, 2026
46 of 47 checks passed
@cartertinney
Carter Tinney (cartertinney) deleted the ct/stabilize-uv-cache branch September 1, 2026 19:29
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants